﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GUIEXAM13
{
    public enum ViewModelMessageType
    {
        Event = 0,

    }

    public struct ViewModelMessage
    {
        public ViewModelMessageType Type;
        public object Message;
    }
    
    public interface IViewModel
    {
        string GetName();
        void Send(string receiver, ViewModelMessage message);
        void Receive(string from, ViewModelMessage message);
    }
}
